package cn.bandeqing.customer.req;

import cn.bandeqing.frame.validation.Phone;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

@Data
public class BindPhoneReq implements Serializable {

    @Phone
    private String phone;

    @NotBlank
    @Size(min = 6, max = 6)
    private String code;

}
